package com.guxiuwei.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author 谷秀伟
 * @since 2023-03-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Workers对象", description="")
public class Workers implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "施工人员姓名")
      @TableId(value = "wname", type = IdType.ID_WORKER)
    private String wname;

    @ApiModelProperty(value = "厂商")
    private String manufacturer;

    @ApiModelProperty(value = "身份证号码")
    @TableField("IDnum")
    private String idnum;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "关联工单")
    private Long oid;


}
